<!DOCTYPE html>
<html>

<head>
    <title>
        <%= title %>
    </title>
    <link rel='stylesheet' href='/stylesheets/style.css' />
    <script src="https://cdn.jsdelivr.net/npm/axios/dist/axios.min.js"></script>
    <style>
        * {
            padding: 0;
            margin: 0;
            box-sizing: border-box;
        }

        .form-container {
            width: 500px;
            height: 500px;
            margin: 200px auto;
            border-radius: 10px;
            background-color: #f2f2f2;
            padding: 20px;
        }

        h1 {
            text-align: center;
            margin-top: 100px;
        }

        label {
            display: flex;
            margin-top: 20px;
            justify-content: space-between;
        }

        .label-text {
            font-size: 18px;
            font-weight: bold;
            line-height: 30px;
        }


        input[type="text"],
        input[type="password"],
        input[type="email"] {
            width: 80%;
            height: 30px;
            padding-left: 10px;
            border: none;
            border-radius: 5px;
            margin-left: 10px;
        }

        button {
            width: 100%;
            height: 40px;
            background-color: #4CAF50;
            color: white;
            border: none;
            border-radius: 5px;
            margin-top: 20px;
            cursor: pointer;
        }


        table {
            margin-top: 50px;
            border-collapse: collapse;
            width: 100%;
        }

        th,
        td {
            text-align: center;
            padding: 10px;
            border: 1px solid #ddd;
        }

        th {
            background-color: #f2f2f2;
        }
    </style>

</head>

<body>



    <div class="form-container">
        <h1>Login</h1>
        <label>
            <p class="label-text">用户名:</p><input type="text" id="username">
        </label>
        <label>
            <p class="label-text">密码:</p><input type="password" id="password">
        </label>
        <label>
            <p class="label-text">邮箱:</p><input type="email" id="email">
        </label>
        <button id="login-btn">登录</button>
        <button id="register-btn">注册</button>
    </div>

    <script src='../javascripts/login.js'></script>
</body>

</html>